#include("../../_common/_header.html")
#include("../../_common/_import_ckeditor_js.html")

<div class="layui-btn-container">
	<a onclick="window.location.href='#(ctx)/admin/goods'" class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon layui-icon-return"></i></a>
	#if(null != goods.id)
		<a onclick="window.location.href='#(ctx)/admin/goods/editLayout?id=#(goods.id)'" class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon layui-icon-layouts"></i>编辑布局</a>
	#end
</div>
<hr class="layui-bg-blue">
<blockquote class="layui-elem-quote">编辑商品</blockquote>

<form class="layui-form" action="#(ctx)/admin/goods/saveOrUpdate" method="post">

#include("_baseForm.html")

</form>

<hr class="layui-bg-blue">
<div class="layui-btn-container">
	<a onclick="window.location.href='#(ctx)/admin/goods'" class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon layui-icon-return"></i></a>
	#if(null != goods.id)
		<a onclick="window.location.href='#(ctx)/admin/goods/editLayout?id=#(goods.id)'" class="layui-btn layui-btn-primary layui-btn-sm"><i class="layui-icon layui-icon-layouts"></i>编辑布局</a>
	#end
</div>

### 将例子页面放在Form外面，避免被提交
#include("_baseFormSample.html")

#include("../../_common/_footer.html")
